package records

import (
	"github.com/golib/mysql"
)

const RecordNameAuditionCitySummary = "audition_city_summary"

func init() {
	var r = &AuditionCitySummary{}
	mysql.RegisterRecord(r.Name(), r)
}

type AuditionCitySummary struct {
	CitySummaryId           int    `column:"city_summary_id" primary:"true" modify:"false" json:"citySummaryId" form:"citySummaryId"`
	CityId                  int    `column:"city_id" modify:"true" json:"cityId" form:"cityId"`
	CityName                string `json:"cityName" form:"cityName" column:"city_name" modify:"true"`
	StudentCount            int    `form:"studentCount" column:"student_count" modify:"true" json:"studentCount"`
	HomeworkCount           int    `json:"homeworkCount" form:"homeworkCount" column:"homework_count" modify:"true"`
	NationwideStudentCount  int    `json:"nationwideStudentCount" form:"nationwideStudentCount" column:"nationwide_student_count" modify:"true"`
	NationwideHomeworkCount int    `json:"nationwideHomeworkCount" form:"nationwideHomeworkCount" column:"nationwide_homework_count" modify:"true"`
	CreateTime              string `modify:"false" json:"createTime" form:"createTime" column:"create_time"`
	UpdateTime              string `json:"updateTime" form:"updateTime" column:"update_time" modify:"false"`
}

func (r *AuditionCitySummary) Name() string {
	return RecordNameAuditionCitySummary
}
